/// ****************************************************************************
/// Author:	        Robin Zhu
/// Create Date:	2011-11-1
/// Purpose: 		数据访问上下文设置节读写类文件
/// ****************************************************************************
/// Modify By		Date			Remark
/// ****************************************************************************

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace RB.DataAccess.Configuration
{
    /// <summary>
    /// 数据访问上下文设置节读写类
    /// </summary>
    internal static class DataConfigManager
    {
        /// <summary>
        /// 从配置文件（Web.Config）中读取数据访问上下文设置节
        /// </summary>
        /// <returns></returns>
        internal static DataAccessConfigSection Load()
        {
            return (DataAccessConfigSection)ConfigurationManager.GetSection("RB.DataAccess"); 
        }
    }
}
